package com.woniuxy.userapp.common.exception.Myexception;

import com.woniuxy.commons.exception.MyException;
import com.woniuxy.userapp.common.exception.WoniuException;
import com.woniuxy.userapp.common.exception.code.UserExceptionCode;

public class UserException extends MyException {

    public UserException(String message, Integer code) {
        super(code, message);
    }

    public UserException(UserExceptionCode userExceptionCode){
        super(userExceptionCode.getCode(),userExceptionCode.getMessage());
    }
}
